package com.elitel.frame.main.entity.vo;

/**
 * 异常代表类
 * @author dingdaifu
 *
 */
public class ExceptionVo {
//		ERROR_SUANSHU("401","算术异常"),
//	    ERROR_ZHUANHUAN("403","类型强制转换异常"),
//	    UNKNOWN_ERROR("402","空指针异常"),
//		ERROR_FUXIA("405","数组负下标"),
//		ERROR_OUTOF("406","类型强制转换异常"),
//		ERROR_FILENOTFOUND("403","文件未找到"),
//		ERROR_SQL("502","操作数据库异常"),
//		ERROR_IO("403","输入输出异常"),
//		ERROR_NOMETHOD("504","类型强制转换异常");
		
		//异常描述
	    private String value;
	    //异常编号
	    private String desc;
	    //异常类型
	    private String errorType;
	    
	    public String getErrorType() {
			return errorType;
		}
		public void setErrorType(String errorType) {
			this.errorType = errorType;
		}
		public ExceptionVo(){
	    	
	    }
	    private ExceptionVo(String value, String desc) {
	        this.setValue(value);
	        this.setDesc(desc);
	    }
	    public String getValue() {
	        return value;
	    }

	    public void setValue(String value) {
	        this.value = value;
	    }

	    public String getDesc() {
	        return desc;
	    }

	    public void setDesc(String desc) {
	        this.desc = desc;
	    }


}
